﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Weazel.Willows.InterfaceGeneration
{
	public class UserLogicDesignFile
		: Weazel.Badger.Vhdl.DesignFile
	{
		public UserLogicDesignFile(UserLogicEntity entity) 
			: base("user_logic")
		{
			this.Entities.Add(entity);

			this.DesignUnit.Add("library ieee;");
			this.DesignUnit.Add("use ieee.std_logic_1164.all;");
			this.DesignUnit.Add("use ieee.std_logic_arith.all;");
			this.DesignUnit.Add("use ieee.std_logic_unsigned.all;");

			this.DesignUnit.Add("library proc_common_v2_00_a;");
			this.DesignUnit.Add("use proc_common_v2_00_a.proc_common_pkg.all;");
		}
	}
}
